/****** Object:  Stored Procedure [dbo].spPhieuNhapGet Script Date: 6/12/2012 ******/
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[spPhieuNhapGet]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[spPhieuNhapGet]
GO

/******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:					Description:
**		--------	--------				-----------------------------------
**		14/06/2012	SongTM					Innit created
*******************************************************************************/

CREATE PROCEDURE [dbo].[spPhieuNhapGet]
(
	@SoPN nvarchar(14)
)
WITH ENCRYPTION
AS

SET NOCOUNT ON

SELECT 
	*
FROM 
	[tbl_PhieuNhap]
WHERE
	[SoPN] = @SoPN
GO

--GRANT EXECUTE ON [dbo].[spPhieuNhapGet] TO [sa]
--GO
